package net.lzzy.spingsecurity.repository;

import net.lzzy.spingsecurity.entity.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentRepository extends JpaRepository<Comment,Integer> {
    public List<Comment>findByArticleId(Integer id);
}
